package com.SRMS.domain;

import java.awt.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:36
 * @describe RightToUseStudyRoom表对应类
 */
public class RightToUseStudyRoom implements Serializable {
    private String rightId;
    private String studentId;
    private String studyRoomId;
    private Timestamp applicationTime;

    public RightToUseStudyRoom() {
    }

    public RightToUseStudyRoom(String rightId, String studentId, String studyRoomId, Timestamp applicationTime) {
        this.rightId = rightId;
        this.studentId = studentId;
        this.studyRoomId = studyRoomId;
        this.applicationTime = applicationTime;
    }

    public String getRightId() {
        return rightId;
    }

    public void setRightId(String rightId) {
        this.rightId = rightId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudyRoomId() {
        return studyRoomId;
    }

    public void setStudyRoomId(String studyRoomId) {
        this.studyRoomId = studyRoomId;
    }

    public Timestamp getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(Timestamp applicationTime) {
        this.applicationTime = applicationTime;
    }

    @Override
    public String toString() {
        return "RightToUseStudyRoom{" +
                "rightId='" + rightId + '\'' +
                ", studentId='" + studentId + '\'' +
                ", studyRoomId='" + studyRoomId + '\'' +
                ", applicationTime=" + applicationTime +
                '}';
    }
}
